<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <title>Image</title>
  <style type="text/css" rel="stylesheet">
	*{padding:0;margin:0;}
	body {font-size:12px;margin: 0px;background-color:#F0F0EE;overflow: hidden;}
	td.left1 {font-size:12px;width: 50px;padding: 2px;}
	td.right1 {font-size:12px;padding: 2px;}
	td.left2 {font-size:12px;width: 35px;padding: 2px;}
	td.right2 {font-size:12px;padding: 2px;width: 50px;}
  </style>
  <script type="text/javascript">
    function changeType(obj) {
        if (obj.value == 1) {
            document.getElementById('url').style.display = 'none';
            document.getElementById('imgFile').style.display = 'block';
        } else {
            document.getElementById('url').style.display = 'block';
            document.getElementById('imgFile').style.display = 'none';
        }
    }
  </script>
</head>
<body>
  <form name="uploadForm" method="post" enctype="multipart/form-data" action="../../editor.php?m=uploads&a=flash">
    <input type="hidden" id="editorId" name="id" value="" />
    <table border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td class="left1">
          <select id="type" name="type" onchange="javascript:changeType(this);">
            <option value="1" selected>本地</option>
            <option value="2">远程</option>
          </select>
        </td>
        <td class="right1">
          <input type="file" id="imgFile" name="file" size='22' />
          <input type="text" id="url" name="url" value="http://" maxlength="255" style="width:225px;display:none;" />
        </td>
      </tr>
      <tr style="width:40px;display:none;">
        <td class="left1">说明:</td>
        <td class="right1">
          <input type="text" id="imgTitle" name="imgTitle" value="" maxlength="100" style="width:220px;" />
			<select id="imgAlign" name="imgAlign" style="width:104px;"> 
				<option value="">图片位置</option> 
				<option value="middle">居中</option> 
				<option value="left">居左图文环绕</option> 
				<option value="right">居右图文环绕</option> 
				<option value="baseline">基线对其</option> 
				<option value="top">居上</option> 
				<option value="bottom">居下</option> 
				<option value="texttop">文字上方</option> 
				<option value="absmiddle">绝对居中</option> 
				<option value="absbottom">绝对居下</option> 
			</select> 
        </td>
      </tr>
	  <tr>
        <td class="left1">设置:</td>
        <td class="right1">
          宽度 : <input type="text" name="imgWidth" id="imgWidth" value="0" maxlength="4" style="width:60px;" />&nbsp;&nbsp;
		  高度 : <input type="text" name="imgHeight" id="imgHeight" value="0" maxlength="4" style="width:60px;" />
        </td>
      </tr>
	  <tr>
		<td class="left1">工具:</td>
		<td class="right1">
			自动播放 : 
			<select id="autoStart" name="autoStart" style="width:50px;"> 
				<option value="1">是</option> 
				<option value="0">否</option> 
			</select> &nbsp;
			循环 : 
			<select id="loop" name="loop" style="width:50px;"> 
				<option value="1">是</option> 
				<option value="0">否</option> 
			</select> 
		</td>
	  </tr>
    </table>
  </form>
</body>
</html>
